Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: QuickDraw GX Printing Extensions and Drivers /
Chapter 5 - Printing Functions for Message Overrides / Printing Functions Reference
Functions


Managing Paper Trays

You use the tray-handling functions to manage the use of the paper trays on the printer with which your printing extension or printer driver is communicating. Each tray on the printer is named, and each can have a specific paper type assigned to it.

You use the GXCountTrays function when you need to loop through the trays on the printer and determine which kind of paper is assigned to each. The GXCountTrays function tells you how many trays you need to search.

The GXGetTrayName function returns the name of a specific tray on the printer. The GXGetTrayMapping function tells you whether or not any of the trays on the printer has been assigned a specific paper type. If not, then you don't need to loop through them to find an assigned type.

The GXSetTrayPaperType function allows you to associate a specific paper type with a specific tray on the printer, and the GXGetTrayPaperType function allows you to access the paper-type information that is associated with a specific tray.


Subtopics
GXCountTrays
GXGetTrayName
GXGetTrayMapping
GXSetTrayPaperType
GXGetTrayPaperType

Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help